FUNCTION

require_valid_proof

function require_valid_proof(gtx_transaction: gtx_transaction, verify_signers: boolean, require_anchored_proof: boolean, min_timestamp: integer, max_timestamp: integer, valid_source_blockchain_rids: set<byte_array>?): list<gtx_operation>

Requires the presented transaction to be proved

Parameters

  • gtx_transaction — The transaction to verify
  • verify_signers — Whether or not the signers must match current transaction signatures
  • require_anchored_proof — Whether or not we require inclusion of a proof that the block containing the transaction has been anchored in cluster anchoring chain
  • min_timestamp — Limit for how old the transaction is allowed to be, disabled if 0
  • max_timestamp — Limit for how new the transaction is allowed to be, disabled if 0
  • valid_source_blockchain_rids — Valid source blockchains for transaction

Returns

operations in the transaction to verify

© 2024 Chromia